Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev tvos #625

Open
wants to merge 24 commits into
base: dev-tvos
Choose a base branch
from
Open

Dev tvos #625

wants to merge 24 commits into from

Conversation

mememe2167
Copy link

No description provided.

petea and others added 24 commits July 21, 2020 15:35
- Add beginnings of 'AppAuthTV' Pod subspec
- Remove dependency on `GTMAppAuthFetcherAuthorization`
- Remove GTMAPPAUTH_USER_IMPORTS code
- Verified with `pod lib lint`
* Rename OID to GTM, remove extra header
* Remove TVConfigurationForGoogle, update copyright headers
* Return OIDAuthState instead of GTMAppAuthFetcherAuthorization
* Add AppAuthTV to Xcode targets, fix NSObject description method bug
* Add files to AppAuthTV target
* Remove property synthesize
* Add AppAuthTVTests target, pointing to UnitTests/UnitTestsInfo.plist and included in AppAuthTV scheme. Reorder imports
* Update min tvOS version and identifier for AppAuthTV target
* Correct capitalization in AppAuthTV identifier
* Update reference URLs, references to Google removed
* Remove non-functioning AppAuthTVTests target (tests coming in future PR)
* Fix indent spacing in OIDTVServiceConfiguration
* OIDTVAuthorizationRequest tests
* Add tests to AppAuthTVScheme
* add AppAuthTV to .travis.yml
Adds OIDTVTokenRequest class, which is a subclass of OIDTokenRequest, to better adhere to the [RFC for TV authentication](https://tools.ietf.org/html/rfc8628#section-3.4). This adds the required `device_code` property which is sent in the request body, which differs from the `code` property for the authorization code in the parent class. Additionally, the grant type for TV authorization is hard-coded in, and several unused fields are dropped from the initializer and body request code.
Update the example project to support discovery
- Create a tvOS example README
- Document tvOS support in main README
- Link to tvOS example from the example README
- Add Google IdP tvOS details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants